package com.example.springdemo.service;

import org.springframework.stereotype.Service;

@Service("calculateService")
public class CalculateService implements ICalculateService {

    @Override
    public void add(int x, int y) {
        System.out.println("调用add");
    }

    @Override
    public void divide(int x, int y) {
        System.out.println("调用divide");
    }
}
